﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using MG.HomeO2O.DAL;
using MG.HomeO2O.Model;

namespace MG.HomeO2O.BLL
{
   public  class OrderBLL
    {
       OrderDAL dal = new OrderDAL();
       /// <summary>
       /// 下拉框显示
       /// </summary>
       /// <returns></returns>
       public List<MG.HomeO2O.Model.Type> listshow()
       {
           return dal.listshow();
       }
       /// <summary>
       /// 添加
       /// </summary>
       /// <param name="p"></param>
       /// <returns></returns>
       public int add(Order p)
       {
           return dal.add(p);
       }
    }
}
